package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.entity.AddressBook;

import java.util.List;


public interface AddressBookService extends IService<AddressBook> {


    List<AddressBook> list(AddressBook addressBook);

    void saveAddress(AddressBook addressBook);

    void updateAddressById(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);
}
